﻿//============================================================
// Producnt name:		CodeSmith HZ-ACCP
// Version: 			2.0
// Coded by:			yan.guo (yan.guo@jb-aptech.com.cn)
// Auto generated at: 	2009-9-13 14:51:54
//============================================================

using System;
using System.Collections.Generic;
using System.Text;

namespace MyOA.Model
{
	[Serializable()]
	public class MessageToUser
	{
  		#region ==== Variable ====
		private int id;
		private Message message;
		private UserInfo toUser;
		private int ifRead=0;
		private int ifRecycle=0;
		#endregion

		public MessageToUser() { }

	  	#region ==== Property ====
		public int Id
		{
			get { return this.id; }
			set { this.id = value; }
		}
		public Message Message
		{
			get { return this.message; }
			set { this.message = value; }
		}
		
		public UserInfo ToUser
		{
			get { return this.toUser; }
			set { this.toUser = value; }
		}
		
		public int IfRead
		{
			get { return this.ifRead; }
			set { this.ifRead = value; }
		}	
		public int IfRecycle
		{
			get { return this.ifRecycle; }
			set { this.ifRecycle = value; }
		}	
		#endregion
	}
}
